/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2025-06-26     Lenovo       the first version
 */
#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>
#include <errno.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <rtdef.h>

// #define DBG_TAG "mensuo"
// #define DBG_LVL  mensuo_DBG_LOG
#include <rtdbg.h>
#include <send_all_control.h>

#define MenSuo  GET_PIN(D,  9)//12V门锁

void MenSuo_Init()
{
    rt_pin_mode(MenSuo, PIN_MODE_OUTPUT);
}

void MenSuo_On()
{
    rt_pin_write(MenSuo, PIN_LOW);
}

void MenSuo_Off()
{
    rt_pin_write(MenSuo, PIN_HIGH);
}
